/**
 * 分页器公用配置
 */

export default function getPagination(obj) {
	const base = {
		defaultCurrent: 1,
		showTotal: total => `总共 ${total} 项`,
		showSizeChanger: true,
		showQuickJumper: true
	};
	return { ...base, ...obj };
}
